package com.powernode.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @create: 2024/7/16
 * @author: gyhe10
 * @description: 登录策略接口
 **/

public interface LoginStrategy {

    /**
     * 处理登录的方法
     * @param username
     * @return
     */
    UserDetails realLogin(String username);
}
